package com.ynb.lighterbuffer;

public class FloatSchema implements ISchema<Float>{
	@Override
	public void serialize(Float o,BinaryWriter writer) throws Exception{
		writer.writeFloat(o);
	}
	@Override
	public Float deSerialize(Class<Float> type,BinaryReader reader) throws Exception{
		return reader.readFloat();
	}
}
